<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title th:text="${content}"></title>
	<link rel="stylesheet" href="../static/css/css.css">
	<script type="text/javascript" src="../static/js/jquery-1.8.2.min.js"></script>
</head>
<body>

	<h1 th:text="${content}"></h1>

	<form action="addOrEdit" method="post">
		<table>
			<tr>
				<th>编号</th>
				<td>
					<input type="text" readonly name="id" th:value="${user.id}">
				</td>
			</tr>
			<tr>
				<th>用户名</th>
				<td>
					<input type="text" name="username" th:value="${user.username}">
				</td>
			</tr>
			<tr>
				<th>密码</th>
				<td>
					<input type="text" name="password" th:value="${user.password}">
				</td>
			</tr>
			<tfoot>
				<tr>
					<td colspan="2">
						<input type="submit" value="提交">
						<input type="button" th:onclick="history.go(-1);return false" value="取消">
					</td>
				</tr>
			</tfoot>
		</table>
	</form>
</body>
<script type="text/javascript">

</script>
</html>